package com.ymttest.database.sharding.db.sharding.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OrderExtExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OrderExtExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("order_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("order_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(Long value) {
            addCriterion("order_id =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(Long value) {
            addCriterion("order_id <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(Long value) {
            addCriterion("order_id >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(Long value) {
            addCriterion("order_id >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(Long value) {
            addCriterion("order_id <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(Long value) {
            addCriterion("order_id <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<Long> values) {
            addCriterion("order_id in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<Long> values) {
            addCriterion("order_id not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(Long value1, Long value2) {
            addCriterion("order_id between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(Long value1, Long value2) {
            addCriterion("order_id not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andSellerIdIsNull() {
            addCriterion("seller_id is null");
            return (Criteria) this;
        }

        public Criteria andSellerIdIsNotNull() {
            addCriterion("seller_id is not null");
            return (Criteria) this;
        }

        public Criteria andSellerIdEqualTo(Long value) {
            addCriterion("seller_id =", value, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdNotEqualTo(Long value) {
            addCriterion("seller_id <>", value, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdGreaterThan(Long value) {
            addCriterion("seller_id >", value, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdGreaterThanOrEqualTo(Long value) {
            addCriterion("seller_id >=", value, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdLessThan(Long value) {
            addCriterion("seller_id <", value, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdLessThanOrEqualTo(Long value) {
            addCriterion("seller_id <=", value, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdIn(List<Long> values) {
            addCriterion("seller_id in", values, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdNotIn(List<Long> values) {
            addCriterion("seller_id not in", values, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdBetween(Long value1, Long value2) {
            addCriterion("seller_id between", value1, value2, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdNotBetween(Long value1, Long value2) {
            addCriterion("seller_id not between", value1, value2, "sellerId");
            return (Criteria) this;
        }

        public Criteria andUserLoginIdIsNull() {
            addCriterion("user_login_id is null");
            return (Criteria) this;
        }

        public Criteria andUserLoginIdIsNotNull() {
            addCriterion("user_login_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserLoginIdEqualTo(String value) {
            addCriterion("user_login_id =", value, "userLoginId");
            return (Criteria) this;
        }

        public Criteria andUserLoginIdNotEqualTo(String value) {
            addCriterion("user_login_id <>", value, "userLoginId");
            return (Criteria) this;
        }

        public Criteria andUserLoginIdGreaterThan(String value) {
            addCriterion("user_login_id >", value, "userLoginId");
            return (Criteria) this;
        }

        public Criteria andUserLoginIdGreaterThanOrEqualTo(String value) {
            addCriterion("user_login_id >=", value, "userLoginId");
            return (Criteria) this;
        }

        public Criteria andUserLoginIdLessThan(String value) {
            addCriterion("user_login_id <", value, "userLoginId");
            return (Criteria) this;
        }

        public Criteria andUserLoginIdLessThanOrEqualTo(String value) {
            addCriterion("user_login_id <=", value, "userLoginId");
            return (Criteria) this;
        }

        public Criteria andUserLoginIdLike(String value) {
            addCriterion("user_login_id like", value, "userLoginId");
            return (Criteria) this;
        }

        public Criteria andUserLoginIdNotLike(String value) {
            addCriterion("user_login_id not like", value, "userLoginId");
            return (Criteria) this;
        }

        public Criteria andUserLoginIdIn(List<String> values) {
            addCriterion("user_login_id in", values, "userLoginId");
            return (Criteria) this;
        }

        public Criteria andUserLoginIdNotIn(List<String> values) {
            addCriterion("user_login_id not in", values, "userLoginId");
            return (Criteria) this;
        }

        public Criteria andUserLoginIdBetween(String value1, String value2) {
            addCriterion("user_login_id between", value1, value2, "userLoginId");
            return (Criteria) this;
        }

        public Criteria andUserLoginIdNotBetween(String value1, String value2) {
            addCriterion("user_login_id not between", value1, value2, "userLoginId");
            return (Criteria) this;
        }

        public Criteria andSellerLoginIdIsNull() {
            addCriterion("seller_login_id is null");
            return (Criteria) this;
        }

        public Criteria andSellerLoginIdIsNotNull() {
            addCriterion("seller_login_id is not null");
            return (Criteria) this;
        }

        public Criteria andSellerLoginIdEqualTo(String value) {
            addCriterion("seller_login_id =", value, "sellerLoginId");
            return (Criteria) this;
        }

        public Criteria andSellerLoginIdNotEqualTo(String value) {
            addCriterion("seller_login_id <>", value, "sellerLoginId");
            return (Criteria) this;
        }

        public Criteria andSellerLoginIdGreaterThan(String value) {
            addCriterion("seller_login_id >", value, "sellerLoginId");
            return (Criteria) this;
        }

        public Criteria andSellerLoginIdGreaterThanOrEqualTo(String value) {
            addCriterion("seller_login_id >=", value, "sellerLoginId");
            return (Criteria) this;
        }

        public Criteria andSellerLoginIdLessThan(String value) {
            addCriterion("seller_login_id <", value, "sellerLoginId");
            return (Criteria) this;
        }

        public Criteria andSellerLoginIdLessThanOrEqualTo(String value) {
            addCriterion("seller_login_id <=", value, "sellerLoginId");
            return (Criteria) this;
        }

        public Criteria andSellerLoginIdLike(String value) {
            addCriterion("seller_login_id like", value, "sellerLoginId");
            return (Criteria) this;
        }

        public Criteria andSellerLoginIdNotLike(String value) {
            addCriterion("seller_login_id not like", value, "sellerLoginId");
            return (Criteria) this;
        }

        public Criteria andSellerLoginIdIn(List<String> values) {
            addCriterion("seller_login_id in", values, "sellerLoginId");
            return (Criteria) this;
        }

        public Criteria andSellerLoginIdNotIn(List<String> values) {
            addCriterion("seller_login_id not in", values, "sellerLoginId");
            return (Criteria) this;
        }

        public Criteria andSellerLoginIdBetween(String value1, String value2) {
            addCriterion("seller_login_id between", value1, value2, "sellerLoginId");
            return (Criteria) this;
        }

        public Criteria andSellerLoginIdNotBetween(String value1, String value2) {
            addCriterion("seller_login_id not between", value1, value2, "sellerLoginId");
            return (Criteria) this;
        }

        public Criteria andPostCodeIsNull() {
            addCriterion("post_code is null");
            return (Criteria) this;
        }

        public Criteria andPostCodeIsNotNull() {
            addCriterion("post_code is not null");
            return (Criteria) this;
        }

        public Criteria andPostCodeEqualTo(String value) {
            addCriterion("post_code =", value, "postCode");
            return (Criteria) this;
        }

        public Criteria andPostCodeNotEqualTo(String value) {
            addCriterion("post_code <>", value, "postCode");
            return (Criteria) this;
        }

        public Criteria andPostCodeGreaterThan(String value) {
            addCriterion("post_code >", value, "postCode");
            return (Criteria) this;
        }

        public Criteria andPostCodeGreaterThanOrEqualTo(String value) {
            addCriterion("post_code >=", value, "postCode");
            return (Criteria) this;
        }

        public Criteria andPostCodeLessThan(String value) {
            addCriterion("post_code <", value, "postCode");
            return (Criteria) this;
        }

        public Criteria andPostCodeLessThanOrEqualTo(String value) {
            addCriterion("post_code <=", value, "postCode");
            return (Criteria) this;
        }

        public Criteria andPostCodeLike(String value) {
            addCriterion("post_code like", value, "postCode");
            return (Criteria) this;
        }

        public Criteria andPostCodeNotLike(String value) {
            addCriterion("post_code not like", value, "postCode");
            return (Criteria) this;
        }

        public Criteria andPostCodeIn(List<String> values) {
            addCriterion("post_code in", values, "postCode");
            return (Criteria) this;
        }

        public Criteria andPostCodeNotIn(List<String> values) {
            addCriterion("post_code not in", values, "postCode");
            return (Criteria) this;
        }

        public Criteria andPostCodeBetween(String value1, String value2) {
            addCriterion("post_code between", value1, value2, "postCode");
            return (Criteria) this;
        }

        public Criteria andPostCodeNotBetween(String value1, String value2) {
            addCriterion("post_code not between", value1, value2, "postCode");
            return (Criteria) this;
        }

        public Criteria andReceiverIsNull() {
            addCriterion("receiver is null");
            return (Criteria) this;
        }

        public Criteria andReceiverIsNotNull() {
            addCriterion("receiver is not null");
            return (Criteria) this;
        }

        public Criteria andReceiverEqualTo(String value) {
            addCriterion("receiver =", value, "receiver");
            return (Criteria) this;
        }

        public Criteria andReceiverNotEqualTo(String value) {
            addCriterion("receiver <>", value, "receiver");
            return (Criteria) this;
        }

        public Criteria andReceiverGreaterThan(String value) {
            addCriterion("receiver >", value, "receiver");
            return (Criteria) this;
        }

        public Criteria andReceiverGreaterThanOrEqualTo(String value) {
            addCriterion("receiver >=", value, "receiver");
            return (Criteria) this;
        }

        public Criteria andReceiverLessThan(String value) {
            addCriterion("receiver <", value, "receiver");
            return (Criteria) this;
        }

        public Criteria andReceiverLessThanOrEqualTo(String value) {
            addCriterion("receiver <=", value, "receiver");
            return (Criteria) this;
        }

        public Criteria andReceiverLike(String value) {
            addCriterion("receiver like", value, "receiver");
            return (Criteria) this;
        }

        public Criteria andReceiverNotLike(String value) {
            addCriterion("receiver not like", value, "receiver");
            return (Criteria) this;
        }

        public Criteria andReceiverIn(List<String> values) {
            addCriterion("receiver in", values, "receiver");
            return (Criteria) this;
        }

        public Criteria andReceiverNotIn(List<String> values) {
            addCriterion("receiver not in", values, "receiver");
            return (Criteria) this;
        }

        public Criteria andReceiverBetween(String value1, String value2) {
            addCriterion("receiver between", value1, value2, "receiver");
            return (Criteria) this;
        }

        public Criteria andReceiverNotBetween(String value1, String value2) {
            addCriterion("receiver not between", value1, value2, "receiver");
            return (Criteria) this;
        }

        public Criteria andLeaveWordIsNull() {
            addCriterion("leave_word is null");
            return (Criteria) this;
        }

        public Criteria andLeaveWordIsNotNull() {
            addCriterion("leave_word is not null");
            return (Criteria) this;
        }

        public Criteria andLeaveWordEqualTo(String value) {
            addCriterion("leave_word =", value, "leaveWord");
            return (Criteria) this;
        }

        public Criteria andLeaveWordNotEqualTo(String value) {
            addCriterion("leave_word <>", value, "leaveWord");
            return (Criteria) this;
        }

        public Criteria andLeaveWordGreaterThan(String value) {
            addCriterion("leave_word >", value, "leaveWord");
            return (Criteria) this;
        }

        public Criteria andLeaveWordGreaterThanOrEqualTo(String value) {
            addCriterion("leave_word >=", value, "leaveWord");
            return (Criteria) this;
        }

        public Criteria andLeaveWordLessThan(String value) {
            addCriterion("leave_word <", value, "leaveWord");
            return (Criteria) this;
        }

        public Criteria andLeaveWordLessThanOrEqualTo(String value) {
            addCriterion("leave_word <=", value, "leaveWord");
            return (Criteria) this;
        }

        public Criteria andLeaveWordLike(String value) {
            addCriterion("leave_word like", value, "leaveWord");
            return (Criteria) this;
        }

        public Criteria andLeaveWordNotLike(String value) {
            addCriterion("leave_word not like", value, "leaveWord");
            return (Criteria) this;
        }

        public Criteria andLeaveWordIn(List<String> values) {
            addCriterion("leave_word in", values, "leaveWord");
            return (Criteria) this;
        }

        public Criteria andLeaveWordNotIn(List<String> values) {
            addCriterion("leave_word not in", values, "leaveWord");
            return (Criteria) this;
        }

        public Criteria andLeaveWordBetween(String value1, String value2) {
            addCriterion("leave_word between", value1, value2, "leaveWord");
            return (Criteria) this;
        }

        public Criteria andLeaveWordNotBetween(String value1, String value2) {
            addCriterion("leave_word not between", value1, value2, "leaveWord");
            return (Criteria) this;
        }

        public Criteria andSourcePlatformIsNull() {
            addCriterion("source_platform is null");
            return (Criteria) this;
        }

        public Criteria andSourcePlatformIsNotNull() {
            addCriterion("source_platform is not null");
            return (Criteria) this;
        }

        public Criteria andSourcePlatformEqualTo(String value) {
            addCriterion("source_platform =", value, "sourcePlatform");
            return (Criteria) this;
        }

        public Criteria andSourcePlatformNotEqualTo(String value) {
            addCriterion("source_platform <>", value, "sourcePlatform");
            return (Criteria) this;
        }

        public Criteria andSourcePlatformGreaterThan(String value) {
            addCriterion("source_platform >", value, "sourcePlatform");
            return (Criteria) this;
        }

        public Criteria andSourcePlatformGreaterThanOrEqualTo(String value) {
            addCriterion("source_platform >=", value, "sourcePlatform");
            return (Criteria) this;
        }

        public Criteria andSourcePlatformLessThan(String value) {
            addCriterion("source_platform <", value, "sourcePlatform");
            return (Criteria) this;
        }

        public Criteria andSourcePlatformLessThanOrEqualTo(String value) {
            addCriterion("source_platform <=", value, "sourcePlatform");
            return (Criteria) this;
        }

        public Criteria andSourcePlatformLike(String value) {
            addCriterion("source_platform like", value, "sourcePlatform");
            return (Criteria) this;
        }

        public Criteria andSourcePlatformNotLike(String value) {
            addCriterion("source_platform not like", value, "sourcePlatform");
            return (Criteria) this;
        }

        public Criteria andSourcePlatformIn(List<String> values) {
            addCriterion("source_platform in", values, "sourcePlatform");
            return (Criteria) this;
        }

        public Criteria andSourcePlatformNotIn(List<String> values) {
            addCriterion("source_platform not in", values, "sourcePlatform");
            return (Criteria) this;
        }

        public Criteria andSourcePlatformBetween(String value1, String value2) {
            addCriterion("source_platform between", value1, value2, "sourcePlatform");
            return (Criteria) this;
        }

        public Criteria andSourcePlatformNotBetween(String value1, String value2) {
            addCriterion("source_platform not between", value1, value2, "sourcePlatform");
            return (Criteria) this;
        }

        public Criteria andSourceIpIsNull() {
            addCriterion("source_ip is null");
            return (Criteria) this;
        }

        public Criteria andSourceIpIsNotNull() {
            addCriterion("source_ip is not null");
            return (Criteria) this;
        }

        public Criteria andSourceIpEqualTo(String value) {
            addCriterion("source_ip =", value, "sourceIp");
            return (Criteria) this;
        }

        public Criteria andSourceIpNotEqualTo(String value) {
            addCriterion("source_ip <>", value, "sourceIp");
            return (Criteria) this;
        }

        public Criteria andSourceIpGreaterThan(String value) {
            addCriterion("source_ip >", value, "sourceIp");
            return (Criteria) this;
        }

        public Criteria andSourceIpGreaterThanOrEqualTo(String value) {
            addCriterion("source_ip >=", value, "sourceIp");
            return (Criteria) this;
        }

        public Criteria andSourceIpLessThan(String value) {
            addCriterion("source_ip <", value, "sourceIp");
            return (Criteria) this;
        }

        public Criteria andSourceIpLessThanOrEqualTo(String value) {
            addCriterion("source_ip <=", value, "sourceIp");
            return (Criteria) this;
        }

        public Criteria andSourceIpLike(String value) {
            addCriterion("source_ip like", value, "sourceIp");
            return (Criteria) this;
        }

        public Criteria andSourceIpNotLike(String value) {
            addCriterion("source_ip not like", value, "sourceIp");
            return (Criteria) this;
        }

        public Criteria andSourceIpIn(List<String> values) {
            addCriterion("source_ip in", values, "sourceIp");
            return (Criteria) this;
        }

        public Criteria andSourceIpNotIn(List<String> values) {
            addCriterion("source_ip not in", values, "sourceIp");
            return (Criteria) this;
        }

        public Criteria andSourceIpBetween(String value1, String value2) {
            addCriterion("source_ip between", value1, value2, "sourceIp");
            return (Criteria) this;
        }

        public Criteria andSourceIpNotBetween(String value1, String value2) {
            addCriterion("source_ip not between", value1, value2, "sourceIp");
            return (Criteria) this;
        }

        public Criteria andSourceTerminalIsNull() {
            addCriterion("source_terminal is null");
            return (Criteria) this;
        }

        public Criteria andSourceTerminalIsNotNull() {
            addCriterion("source_terminal is not null");
            return (Criteria) this;
        }

        public Criteria andSourceTerminalEqualTo(String value) {
            addCriterion("source_terminal =", value, "sourceTerminal");
            return (Criteria) this;
        }

        public Criteria andSourceTerminalNotEqualTo(String value) {
            addCriterion("source_terminal <>", value, "sourceTerminal");
            return (Criteria) this;
        }

        public Criteria andSourceTerminalGreaterThan(String value) {
            addCriterion("source_terminal >", value, "sourceTerminal");
            return (Criteria) this;
        }

        public Criteria andSourceTerminalGreaterThanOrEqualTo(String value) {
            addCriterion("source_terminal >=", value, "sourceTerminal");
            return (Criteria) this;
        }

        public Criteria andSourceTerminalLessThan(String value) {
            addCriterion("source_terminal <", value, "sourceTerminal");
            return (Criteria) this;
        }

        public Criteria andSourceTerminalLessThanOrEqualTo(String value) {
            addCriterion("source_terminal <=", value, "sourceTerminal");
            return (Criteria) this;
        }

        public Criteria andSourceTerminalLike(String value) {
            addCriterion("source_terminal like", value, "sourceTerminal");
            return (Criteria) this;
        }

        public Criteria andSourceTerminalNotLike(String value) {
            addCriterion("source_terminal not like", value, "sourceTerminal");
            return (Criteria) this;
        }

        public Criteria andSourceTerminalIn(List<String> values) {
            addCriterion("source_terminal in", values, "sourceTerminal");
            return (Criteria) this;
        }

        public Criteria andSourceTerminalNotIn(List<String> values) {
            addCriterion("source_terminal not in", values, "sourceTerminal");
            return (Criteria) this;
        }

        public Criteria andSourceTerminalBetween(String value1, String value2) {
            addCriterion("source_terminal between", value1, value2, "sourceTerminal");
            return (Criteria) this;
        }

        public Criteria andSourceTerminalNotBetween(String value1, String value2) {
            addCriterion("source_terminal not between", value1, value2, "sourceTerminal");
            return (Criteria) this;
        }

        public Criteria andOperatingSystemIsNull() {
            addCriterion("operating_system is null");
            return (Criteria) this;
        }

        public Criteria andOperatingSystemIsNotNull() {
            addCriterion("operating_system is not null");
            return (Criteria) this;
        }

        public Criteria andOperatingSystemEqualTo(String value) {
            addCriterion("operating_system =", value, "operatingSystem");
            return (Criteria) this;
        }

        public Criteria andOperatingSystemNotEqualTo(String value) {
            addCriterion("operating_system <>", value, "operatingSystem");
            return (Criteria) this;
        }

        public Criteria andOperatingSystemGreaterThan(String value) {
            addCriterion("operating_system >", value, "operatingSystem");
            return (Criteria) this;
        }

        public Criteria andOperatingSystemGreaterThanOrEqualTo(String value) {
            addCriterion("operating_system >=", value, "operatingSystem");
            return (Criteria) this;
        }

        public Criteria andOperatingSystemLessThan(String value) {
            addCriterion("operating_system <", value, "operatingSystem");
            return (Criteria) this;
        }

        public Criteria andOperatingSystemLessThanOrEqualTo(String value) {
            addCriterion("operating_system <=", value, "operatingSystem");
            return (Criteria) this;
        }

        public Criteria andOperatingSystemLike(String value) {
            addCriterion("operating_system like", value, "operatingSystem");
            return (Criteria) this;
        }

        public Criteria andOperatingSystemNotLike(String value) {
            addCriterion("operating_system not like", value, "operatingSystem");
            return (Criteria) this;
        }

        public Criteria andOperatingSystemIn(List<String> values) {
            addCriterion("operating_system in", values, "operatingSystem");
            return (Criteria) this;
        }

        public Criteria andOperatingSystemNotIn(List<String> values) {
            addCriterion("operating_system not in", values, "operatingSystem");
            return (Criteria) this;
        }

        public Criteria andOperatingSystemBetween(String value1, String value2) {
            addCriterion("operating_system between", value1, value2, "operatingSystem");
            return (Criteria) this;
        }

        public Criteria andOperatingSystemNotBetween(String value1, String value2) {
            addCriterion("operating_system not between", value1, value2, "operatingSystem");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIsNull() {
            addCriterion("device_id is null");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIsNotNull() {
            addCriterion("device_id is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceIdEqualTo(String value) {
            addCriterion("device_id =", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotEqualTo(String value) {
            addCriterion("device_id <>", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdGreaterThan(String value) {
            addCriterion("device_id >", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdGreaterThanOrEqualTo(String value) {
            addCriterion("device_id >=", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLessThan(String value) {
            addCriterion("device_id <", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLessThanOrEqualTo(String value) {
            addCriterion("device_id <=", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLike(String value) {
            addCriterion("device_id like", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotLike(String value) {
            addCriterion("device_id not like", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIn(List<String> values) {
            addCriterion("device_id in", values, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotIn(List<String> values) {
            addCriterion("device_id not in", values, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdBetween(String value1, String value2) {
            addCriterion("device_id between", value1, value2, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotBetween(String value1, String value2) {
            addCriterion("device_id not between", value1, value2, "deviceId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdIsNull() {
            addCriterion("equipment_id is null");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdIsNotNull() {
            addCriterion("equipment_id is not null");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdEqualTo(String value) {
            addCriterion("equipment_id =", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdNotEqualTo(String value) {
            addCriterion("equipment_id <>", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdGreaterThan(String value) {
            addCriterion("equipment_id >", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdGreaterThanOrEqualTo(String value) {
            addCriterion("equipment_id >=", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdLessThan(String value) {
            addCriterion("equipment_id <", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdLessThanOrEqualTo(String value) {
            addCriterion("equipment_id <=", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdLike(String value) {
            addCriterion("equipment_id like", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdNotLike(String value) {
            addCriterion("equipment_id not like", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdIn(List<String> values) {
            addCriterion("equipment_id in", values, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdNotIn(List<String> values) {
            addCriterion("equipment_id not in", values, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdBetween(String value1, String value2) {
            addCriterion("equipment_id between", value1, value2, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdNotBetween(String value1, String value2) {
            addCriterion("equipment_id not between", value1, value2, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andSellerNoteIsNull() {
            addCriterion("seller_note is null");
            return (Criteria) this;
        }

        public Criteria andSellerNoteIsNotNull() {
            addCriterion("seller_note is not null");
            return (Criteria) this;
        }

        public Criteria andSellerNoteEqualTo(String value) {
            addCriterion("seller_note =", value, "sellerNote");
            return (Criteria) this;
        }

        public Criteria andSellerNoteNotEqualTo(String value) {
            addCriterion("seller_note <>", value, "sellerNote");
            return (Criteria) this;
        }

        public Criteria andSellerNoteGreaterThan(String value) {
            addCriterion("seller_note >", value, "sellerNote");
            return (Criteria) this;
        }

        public Criteria andSellerNoteGreaterThanOrEqualTo(String value) {
            addCriterion("seller_note >=", value, "sellerNote");
            return (Criteria) this;
        }

        public Criteria andSellerNoteLessThan(String value) {
            addCriterion("seller_note <", value, "sellerNote");
            return (Criteria) this;
        }

        public Criteria andSellerNoteLessThanOrEqualTo(String value) {
            addCriterion("seller_note <=", value, "sellerNote");
            return (Criteria) this;
        }

        public Criteria andSellerNoteLike(String value) {
            addCriterion("seller_note like", value, "sellerNote");
            return (Criteria) this;
        }

        public Criteria andSellerNoteNotLike(String value) {
            addCriterion("seller_note not like", value, "sellerNote");
            return (Criteria) this;
        }

        public Criteria andSellerNoteIn(List<String> values) {
            addCriterion("seller_note in", values, "sellerNote");
            return (Criteria) this;
        }

        public Criteria andSellerNoteNotIn(List<String> values) {
            addCriterion("seller_note not in", values, "sellerNote");
            return (Criteria) this;
        }

        public Criteria andSellerNoteBetween(String value1, String value2) {
            addCriterion("seller_note between", value1, value2, "sellerNote");
            return (Criteria) this;
        }

        public Criteria andSellerNoteNotBetween(String value1, String value2) {
            addCriterion("seller_note not between", value1, value2, "sellerNote");
            return (Criteria) this;
        }

        public Criteria andSellerNoteLevelIsNull() {
            addCriterion("seller_note_level is null");
            return (Criteria) this;
        }

        public Criteria andSellerNoteLevelIsNotNull() {
            addCriterion("seller_note_level is not null");
            return (Criteria) this;
        }

        public Criteria andSellerNoteLevelEqualTo(Integer value) {
            addCriterion("seller_note_level =", value, "sellerNoteLevel");
            return (Criteria) this;
        }

        public Criteria andSellerNoteLevelNotEqualTo(Integer value) {
            addCriterion("seller_note_level <>", value, "sellerNoteLevel");
            return (Criteria) this;
        }

        public Criteria andSellerNoteLevelGreaterThan(Integer value) {
            addCriterion("seller_note_level >", value, "sellerNoteLevel");
            return (Criteria) this;
        }

        public Criteria andSellerNoteLevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("seller_note_level >=", value, "sellerNoteLevel");
            return (Criteria) this;
        }

        public Criteria andSellerNoteLevelLessThan(Integer value) {
            addCriterion("seller_note_level <", value, "sellerNoteLevel");
            return (Criteria) this;
        }

        public Criteria andSellerNoteLevelLessThanOrEqualTo(Integer value) {
            addCriterion("seller_note_level <=", value, "sellerNoteLevel");
            return (Criteria) this;
        }

        public Criteria andSellerNoteLevelIn(List<Integer> values) {
            addCriterion("seller_note_level in", values, "sellerNoteLevel");
            return (Criteria) this;
        }

        public Criteria andSellerNoteLevelNotIn(List<Integer> values) {
            addCriterion("seller_note_level not in", values, "sellerNoteLevel");
            return (Criteria) this;
        }

        public Criteria andSellerNoteLevelBetween(Integer value1, Integer value2) {
            addCriterion("seller_note_level between", value1, value2, "sellerNoteLevel");
            return (Criteria) this;
        }

        public Criteria andSellerNoteLevelNotBetween(Integer value1, Integer value2) {
            addCriterion("seller_note_level not between", value1, value2, "sellerNoteLevel");
            return (Criteria) this;
        }

        public Criteria andSellerAgentIsNull() {
            addCriterion("seller_agent is null");
            return (Criteria) this;
        }

        public Criteria andSellerAgentIsNotNull() {
            addCriterion("seller_agent is not null");
            return (Criteria) this;
        }

        public Criteria andSellerAgentEqualTo(Boolean value) {
            addCriterion("seller_agent =", value, "sellerAgent");
            return (Criteria) this;
        }

        public Criteria andSellerAgentNotEqualTo(Boolean value) {
            addCriterion("seller_agent <>", value, "sellerAgent");
            return (Criteria) this;
        }

        public Criteria andSellerAgentGreaterThan(Boolean value) {
            addCriterion("seller_agent >", value, "sellerAgent");
            return (Criteria) this;
        }

        public Criteria andSellerAgentGreaterThanOrEqualTo(Boolean value) {
            addCriterion("seller_agent >=", value, "sellerAgent");
            return (Criteria) this;
        }

        public Criteria andSellerAgentLessThan(Boolean value) {
            addCriterion("seller_agent <", value, "sellerAgent");
            return (Criteria) this;
        }

        public Criteria andSellerAgentLessThanOrEqualTo(Boolean value) {
            addCriterion("seller_agent <=", value, "sellerAgent");
            return (Criteria) this;
        }

        public Criteria andSellerAgentIn(List<Boolean> values) {
            addCriterion("seller_agent in", values, "sellerAgent");
            return (Criteria) this;
        }

        public Criteria andSellerAgentNotIn(List<Boolean> values) {
            addCriterion("seller_agent not in", values, "sellerAgent");
            return (Criteria) this;
        }

        public Criteria andSellerAgentBetween(Boolean value1, Boolean value2) {
            addCriterion("seller_agent between", value1, value2, "sellerAgent");
            return (Criteria) this;
        }

        public Criteria andSellerAgentNotBetween(Boolean value1, Boolean value2) {
            addCriterion("seller_agent not between", value1, value2, "sellerAgent");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNull() {
            addCriterion("add_time is null");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNotNull() {
            addCriterion("add_time is not null");
            return (Criteria) this;
        }

        public Criteria andAddTimeEqualTo(Date value) {
            addCriterion("add_time =", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotEqualTo(Date value) {
            addCriterion("add_time <>", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThan(Date value) {
            addCriterion("add_time >", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("add_time >=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThan(Date value) {
            addCriterion("add_time <", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanOrEqualTo(Date value) {
            addCriterion("add_time <=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeIn(List<Date> values) {
            addCriterion("add_time in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotIn(List<Date> values) {
            addCriterion("add_time not in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeBetween(Date value1, Date value2) {
            addCriterion("add_time between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotBetween(Date value1, Date value2) {
            addCriterion("add_time not between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUserAddressIsNull() {
            addCriterion("user_address is null");
            return (Criteria) this;
        }

        public Criteria andUserAddressIsNotNull() {
            addCriterion("user_address is not null");
            return (Criteria) this;
        }

        public Criteria andUserAddressEqualTo(String value) {
            addCriterion("user_address =", value, "userAddress");
            return (Criteria) this;
        }

        public Criteria andUserAddressNotEqualTo(String value) {
            addCriterion("user_address <>", value, "userAddress");
            return (Criteria) this;
        }

        public Criteria andUserAddressGreaterThan(String value) {
            addCriterion("user_address >", value, "userAddress");
            return (Criteria) this;
        }

        public Criteria andUserAddressGreaterThanOrEqualTo(String value) {
            addCriterion("user_address >=", value, "userAddress");
            return (Criteria) this;
        }

        public Criteria andUserAddressLessThan(String value) {
            addCriterion("user_address <", value, "userAddress");
            return (Criteria) this;
        }

        public Criteria andUserAddressLessThanOrEqualTo(String value) {
            addCriterion("user_address <=", value, "userAddress");
            return (Criteria) this;
        }

        public Criteria andUserAddressLike(String value) {
            addCriterion("user_address like", value, "userAddress");
            return (Criteria) this;
        }

        public Criteria andUserAddressNotLike(String value) {
            addCriterion("user_address not like", value, "userAddress");
            return (Criteria) this;
        }

        public Criteria andUserAddressIn(List<String> values) {
            addCriterion("user_address in", values, "userAddress");
            return (Criteria) this;
        }

        public Criteria andUserAddressNotIn(List<String> values) {
            addCriterion("user_address not in", values, "userAddress");
            return (Criteria) this;
        }

        public Criteria andUserAddressBetween(String value1, String value2) {
            addCriterion("user_address between", value1, value2, "userAddress");
            return (Criteria) this;
        }

        public Criteria andUserAddressNotBetween(String value1, String value2) {
            addCriterion("user_address not between", value1, value2, "userAddress");
            return (Criteria) this;
        }

        public Criteria andUserPhoneIsNull() {
            addCriterion("user_phone is null");
            return (Criteria) this;
        }

        public Criteria andUserPhoneIsNotNull() {
            addCriterion("user_phone is not null");
            return (Criteria) this;
        }

        public Criteria andUserPhoneEqualTo(String value) {
            addCriterion("user_phone =", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotEqualTo(String value) {
            addCriterion("user_phone <>", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneGreaterThan(String value) {
            addCriterion("user_phone >", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("user_phone >=", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneLessThan(String value) {
            addCriterion("user_phone <", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneLessThanOrEqualTo(String value) {
            addCriterion("user_phone <=", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneLike(String value) {
            addCriterion("user_phone like", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotLike(String value) {
            addCriterion("user_phone not like", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneIn(List<String> values) {
            addCriterion("user_phone in", values, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotIn(List<String> values) {
            addCriterion("user_phone not in", values, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneBetween(String value1, String value2) {
            addCriterion("user_phone between", value1, value2, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotBetween(String value1, String value2) {
            addCriterion("user_phone not between", value1, value2, "userPhone");
            return (Criteria) this;
        }

        public Criteria andNoRefundAfterCancelledIsNull() {
            addCriterion("no_refund_after_cancelled is null");
            return (Criteria) this;
        }

        public Criteria andNoRefundAfterCancelledIsNotNull() {
            addCriterion("no_refund_after_cancelled is not null");
            return (Criteria) this;
        }

        public Criteria andNoRefundAfterCancelledEqualTo(Boolean value) {
            addCriterion("no_refund_after_cancelled =", value, "noRefundAfterCancelled");
            return (Criteria) this;
        }

        public Criteria andNoRefundAfterCancelledNotEqualTo(Boolean value) {
            addCriterion("no_refund_after_cancelled <>", value, "noRefundAfterCancelled");
            return (Criteria) this;
        }

        public Criteria andNoRefundAfterCancelledGreaterThan(Boolean value) {
            addCriterion("no_refund_after_cancelled >", value, "noRefundAfterCancelled");
            return (Criteria) this;
        }

        public Criteria andNoRefundAfterCancelledGreaterThanOrEqualTo(Boolean value) {
            addCriterion("no_refund_after_cancelled >=", value, "noRefundAfterCancelled");
            return (Criteria) this;
        }

        public Criteria andNoRefundAfterCancelledLessThan(Boolean value) {
            addCriterion("no_refund_after_cancelled <", value, "noRefundAfterCancelled");
            return (Criteria) this;
        }

        public Criteria andNoRefundAfterCancelledLessThanOrEqualTo(Boolean value) {
            addCriterion("no_refund_after_cancelled <=", value, "noRefundAfterCancelled");
            return (Criteria) this;
        }

        public Criteria andNoRefundAfterCancelledIn(List<Boolean> values) {
            addCriterion("no_refund_after_cancelled in", values, "noRefundAfterCancelled");
            return (Criteria) this;
        }

        public Criteria andNoRefundAfterCancelledNotIn(List<Boolean> values) {
            addCriterion("no_refund_after_cancelled not in", values, "noRefundAfterCancelled");
            return (Criteria) this;
        }

        public Criteria andNoRefundAfterCancelledBetween(Boolean value1, Boolean value2) {
            addCriterion("no_refund_after_cancelled between", value1, value2, "noRefundAfterCancelled");
            return (Criteria) this;
        }

        public Criteria andNoRefundAfterCancelledNotBetween(Boolean value1, Boolean value2) {
            addCriterion("no_refund_after_cancelled not between", value1, value2, "noRefundAfterCancelled");
            return (Criteria) this;
        }

        public Criteria andSellerMemoIsNull() {
            addCriterion("seller_memo is null");
            return (Criteria) this;
        }

        public Criteria andSellerMemoIsNotNull() {
            addCriterion("seller_memo is not null");
            return (Criteria) this;
        }

        public Criteria andSellerMemoEqualTo(String value) {
            addCriterion("seller_memo =", value, "sellerMemo");
            return (Criteria) this;
        }

        public Criteria andSellerMemoNotEqualTo(String value) {
            addCriterion("seller_memo <>", value, "sellerMemo");
            return (Criteria) this;
        }

        public Criteria andSellerMemoGreaterThan(String value) {
            addCriterion("seller_memo >", value, "sellerMemo");
            return (Criteria) this;
        }

        public Criteria andSellerMemoGreaterThanOrEqualTo(String value) {
            addCriterion("seller_memo >=", value, "sellerMemo");
            return (Criteria) this;
        }

        public Criteria andSellerMemoLessThan(String value) {
            addCriterion("seller_memo <", value, "sellerMemo");
            return (Criteria) this;
        }

        public Criteria andSellerMemoLessThanOrEqualTo(String value) {
            addCriterion("seller_memo <=", value, "sellerMemo");
            return (Criteria) this;
        }

        public Criteria andSellerMemoLike(String value) {
            addCriterion("seller_memo like", value, "sellerMemo");
            return (Criteria) this;
        }

        public Criteria andSellerMemoNotLike(String value) {
            addCriterion("seller_memo not like", value, "sellerMemo");
            return (Criteria) this;
        }

        public Criteria andSellerMemoIn(List<String> values) {
            addCriterion("seller_memo in", values, "sellerMemo");
            return (Criteria) this;
        }

        public Criteria andSellerMemoNotIn(List<String> values) {
            addCriterion("seller_memo not in", values, "sellerMemo");
            return (Criteria) this;
        }

        public Criteria andSellerMemoBetween(String value1, String value2) {
            addCriterion("seller_memo between", value1, value2, "sellerMemo");
            return (Criteria) this;
        }

        public Criteria andSellerMemoNotBetween(String value1, String value2) {
            addCriterion("seller_memo not between", value1, value2, "sellerMemo");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}